﻿using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using UtilsORM;
using UtilsORM.MySqlData;

////using System.Web.Script.Serialization;

namespace GatewayServerService.Data
{
    public class DBIotDeviceModelType
    {

        public List<iot_device_model_type> getModelTypeList()
        {
            EFYihongIotContext ef = new EFYihongIotContext();
            return ef.iot_device_model_type.Where(c => c.t_status == 0).ToList();
        }

    }
}
